package com.demo.spring.actions;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.demo.spring.bussness.Bdo;
@Controller
public class IndexController {
	@Autowired
	private Bdo bdo;
    @RequestMapping("/index")
    public String index() {
    	bdo.out();
    	System.out.println("dddddfd");
        return null;
    }
}